home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 52
/
Aminet 52 (2002)(GTI - Schatztruhe)[!][Dec 2002].iso
/
Aminet
/
dev
/
gg
/
bc-1.6.readme
< prev
next >
Wrap
Text File
|
2002-09-15
|
5KB
|
108 lines
Short: Arbitrary precision numeric processing language
Author: Phil Nelson, Ken Pizzini & Diego Casorran
Uploader: dcr8520@amiga.org
Version: 1.6
Type: dev/gg
----------------------------------------------------------------------------
This package comes from http://Amiga.SourceForge.net
----------------------------------------------------------------------------
bc is an arbitrary precision numeric processing language. Syntax is
similar to C, but differs in many substantial areas. It supports
interactive execution of statements. bc is a utility included in the POSIX
P1003.2/D11 draft standard.
This version was written to be a POSIX compliant bc processor with several
extensions to the draft standard. Option flags are available to cause
warning or rejection of the extensions to the POSIX standard. For those
who want only POSIX bc with no extensions, a grammar is provided for
exactly the language described in the POSIX document. The grammar (sbc.y)
comes from the POSIX document. The Makefile contains rules to make sbc.
(for Standard BC)
Since the POSIX document does not specify how bc must be implemented, this
version does not use the historical method of having bc be a compiler for
the dc calculator. This version has a single executable that both compiles
the language and runs the a resulting "byte code". The "byte code" is NOT
the dc language.
Also, included in the initial distribution is the library file vfprintf.c
for MINIX systems. My minix 1.5 did not have this file. Also, you should
verify that vsprintf.c works correctly on your system.
The extensions add some features I think are missing. The major changes
and additions for bc are (a) names are allowed to be full identifiers
([a-z][a-z0-9_]*), (b) addition of the &&, ||, and ! operators, (c)
allowing comparison and boolean operations in any expression, (d) addition
of an else clause to the if statement, (e) addition of a new standard
function "read()" that reads a number from the standard input under program
control, (f) passing of arrays as parameters by variable, (g) addition of
the "halt" statement that is an executable statement unlike the quit (i.e.
"if (1 == 0) quit" will halt bc but "if (1 == 0) halt" will not halt bc.),
and (h) the addition of the special variable "last" that is assigned the
value of each print as the number is printed.
·············································A·r·c·h·i·v·e··C·o·n·t·e·n·t·s··
LhA Freeware Version 2.2
Copyright © 1991-94 by Stefan Boberg.
Copyright © 1998-2000 by Jim Cooper and David Tritscher.
Listing of archive 'bc-1.6.lha':
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
120 99 17.5% 13-Sep-00 18:37:58 AUTHORS
69412 36274 47.7% 25-Jun-02 06:30:42 bc
35107 12020 65.7% 28-Sep-00 00:21:04 ChangeLog
17992 7014 61.0% 16-Sep-99 19:44:58 COPYING
26532 9651 63.6% 07-Jul-00 23:34:08 COPYING.LIB
41076 22115 46.1% 25-Jun-02 06:35:58 dc
34397 12267 64.3% 27-Sep-00 23:32:04 +bc.1
37674 12689 66.3% 03-Oct-00 18:36:30 +bc.info
38375 12848 66.5% 28-Sep-00 00:22:24 +bc.texi
13075 4728 63.8% 07-Jul-00 23:34:08 +dc.1
15365 5200 66.1% 03-Oct-00 18:36:30 +dc.info
16786 5431 67.6% 31-Aug-00 15:57:42 +dc.texi
200195 64386 67.8% 07-Jul-00 23:34:08 +texinfo.tex
829 435 47.5% 07-Jul-00 23:34:08 FAQ
1917 917 52.1% 12-Sep-00 17:22:46 NEWS
3522 1736 50.7% 31-Aug-00 15:57:40 README
330 198 40.0% 07-Jul-00 23:34:08 +ckbook.b
1188 546 54.0% 07-Jul-00 23:34:08 +pi.b
633 323 48.9% 07-Jul-00 23:34:08 +primes.b
710 359 49.4% 07-Jul-00 23:34:08 +twins.b
192 120 37.5% 07-Jul-00 23:34:10 +array.b
371 159 57.1% 07-Jul-00 23:34:10 +arrayp.b
205 111 45.8% 07-Jul-00 23:34:10 +aryprm.b
70 57 18.5% 07-Jul-00 23:34:10 +atan.b
1348 521 61.3% 07-Jul-00 23:34:10 +checklib.b
82 72 12.1% 07-Jul-00 23:34:10 +div.b
38 38 0.0% 07-Jul-00 23:34:10 +exp.b
107 91 14.9% 07-Jul-00 23:34:10 +fact.b
889 391 56.0% 07-Jul-00 23:34:10 +BUG.bc
89 75 15.7% 07-Jul-00 23:34:10 +jn.b
87 61 29.8% 07-Jul-00 23:34:10 +ln.b
285 94 67.0% 07-Jul-00 23:34:10 +mul.b
117 71 39.3% 07-Jul-00 23:34:10 +raise.b
2529 1382 45.3% 07-Jul-00 23:34:10 +signum
100 70 30.0% 07-Jul-00 23:34:10 +sine.b
184 71 61.4% 07-Jul-00 23:34:10 +sqrt.b
157 104 33.7% 07-Jul-00 23:34:10 +sqrt1.b
179 78 56.4% 07-Jul-00 23:34:10 +sqrt2.b
1011 503 50.2% 07-Jul-00 23:34:10 +testfn.b
260 181 30.3% 07-Jul-00 23:34:10 +timetest
-------- ------- ----- --------- --------
563535 213486 62.1% Operation successful.
_____________________________
.Readme created with: MRea \